<?php /* Smarty version Smarty-3.0.7, created on 2014-10-21 17:16:54
         compiled from "C:\wamp\www\softpos\home\softpos\view\default\/layout/member/left.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2646854462486296604-64051706%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '44281027e114b39ed3275bbedadfc917ade28386' => 
    array (
      0 => 'C:\\wamp\\www\\softpos\\home\\softpos\\view\\default\\/layout/member/left.tpl',
      1 => 1413883007,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2646854462486296604-64051706',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="main_left">
	<div class="main_left_info">
	<?php if ($_smarty_tpl->getVariable('left')->value){?>
		<div class="left_realname">姓名：<?php echo $_smarty_tpl->getVariable('data')->value->user_realname;?>
</div>
		<div class="left_gender">性别：<?php echo $_smarty_tpl->getVariable('data')->value->sex;?>
</div>
		<div class="left_birthday">生日：<?php echo $_smarty_tpl->getVariable('data')->value->user_birthday;?>
</div>
		<div class="left_mobile">卡号：<?php echo $_smarty_tpl->getVariable('data')->value->card_no;?>
</div>
		<div class="left_email">手机：<?php echo $_smarty_tpl->getVariable('data')->value->user_mobile;?>
</div>
		<div class="left_myaddr">邮箱：<?php echo $_smarty_tpl->getVariable('data')->value->user_email;?>
</div>
		<div class="left_comment">等级：<?php echo $_smarty_tpl->getVariable('data')->value->user_rank;?>
</div>
		<div class="left_balance">储值余额：<?php echo $_smarty_tpl->getVariable('data')->value->user_balance;?>
</div>
		<div class="left_point">积分余额：<?php echo $_smarty_tpl->getVariable('data')->value->user_point;?>
</div>
		<div class="left_point">优惠券：
			<?php if (count($_smarty_tpl->getVariable('coupondata')->value)>0){?>
				<span class="coupon_true"><?php echo count($_smarty_tpl->getVariable('coupondata')->value);?>
张</span>
			<?php }else{ ?>
				<span class="coupon_false"><?php echo count($_smarty_tpl->getVariable('coupondata')->value);?>
</span>
			<?php }?> 
		</div>
		<div class="edit">
			<a href="index.php?go=softpos.api.ckkxx">
				<div class="edit_ip">编辑</div>
			</a>
		</div>
		<input type="hidden" value="<?php echo $_smarty_tpl->getVariable('data')->value->user_mobile;?>
" id="user_mobile">
		<?php }?>
	</div>
</div>
<?php if ($_smarty_tpl->getVariable('left')->value){?>
<div class="pop-mask"></div>
<div class="pop-up">
    <div class="pop_title">
    	<div class="title">优惠券</div>
    	<div class="bnt_rest">关闭</div>
    </div>
    <div class="popup-con">
    	<?php if (count($_smarty_tpl->getVariable('coupondata')->value)>0){?>
        <table>
        	<th>券码</th>
        	<th>面值</th>
        	<th>标题</th>
        	<th>开始时间</th>
        	<th>到期时间</th>
        	<?php  $_smarty_tpl->tpl_vars['coupon'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('coupondata')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['coupon']->key => $_smarty_tpl->tpl_vars['coupon']->value){
 $_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['coupon']->key;
?>
			<tr>
				<td><?php echo $_smarty_tpl->getVariable('coupon')->value->coupon_pwd;?>
</td>
				<td><?php echo $_smarty_tpl->getVariable('coupon')->value->amount;?>
</td>
				<td><?php echo $_smarty_tpl->getVariable('coupon')->value->batch_name;?>
</td>
				<td><?php echo $_smarty_tpl->getVariable('coupon')->value->time;?>
</td>
				<td><?php echo $_smarty_tpl->getVariable('coupon')->value->exp_date;?>
</td>
			</tr>
        	<?php }} ?>
        </table>
        <?php }?>
    </div>
</div>
<?php }?>